package com.example.demo.web.base;

/**
 * Created by xiabin on 2017/7/17.
 */
public class BaseResp<T> {

    public BaseResp(int code, String msg, T obj) {
        resultCode = code;
        resultMsg = msg;
        data = obj;
    }

    private T data;
    private int resultCode;
    private String resultMsg;


    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public int getResultCode() {
        return resultCode;
    }

    public void setResultCode(int resultCode) {
        this.resultCode = resultCode;
    }

    public String getResultMsg() {
        return resultMsg;
    }

    public void setResultMsg(String resultMsg) {
        this.resultMsg = resultMsg;
    }
}
